package com.shiguiwu.springboot3.search.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * @description: aa
 * @author: stone
 * @date: Created by 2023/8/29 22:11
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.search
 */
@Component
@Aspect
@Slf4j
public class InsertAspect {

    @After(value = "execution(* com.shiguiwu.springboot3.search.mapper.AMapper.insert*(..))")
    public void doAfter(JoinPoint joinPoint) {
        log.error("切面执行 ===================");
    }
}
